﻿using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LTDInterop;

namespace ImageCom
{
    public class LdComPackage
    {

        //public static void test()
        //{
        //    IRasterImage image=new RasterImage();
        //    IntPtr intPtr = IntPtr.Zero;
        //    RasterImage taImage = image.FromDib((int)intPtr);
             
        //}
        public static RasterImage CreateImageFromDib(int intptr)
        {
            IRasterImage image = new RasterImage();
            RasterImage taImage = image.FromDib((int)intptr);
            return taImage;
        }


    }
}
